﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="FeedbackList.aspx.cs" Inherits="CustomerService.Feedback.FeedbackList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        AllowPaging="True" CellPadding="4" ForeColor="#333333" GridLines="None" 
        onpageindexchanging="GridView1_PageIndexChanging" PageSize="15" >
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:TemplateField HeaderText="问题等级" SortExpression="IssueLevel">
                <ItemTemplate>
                    <%# Eval("IssueLevel")%>
                </ItemTemplate>
            </asp:TemplateField>
             <asp:TemplateField HeaderText="问题分类" SortExpression="IssueCategory">
                <ItemTemplate>
                    <%# Eval("IssueCategory")%>
                </ItemTemplate>
            </asp:TemplateField>
             <asp:TemplateField HeaderText="地区 " SortExpression="Region">
                <ItemTemplate>
                    <%# Eval("Region")%>
                </ItemTemplate>
            </asp:TemplateField>
             <asp:TemplateField HeaderText="服务区" SortExpression="ServiceArea">
                <ItemTemplate>
                    <%# Eval("ServiceArea")%>
                </ItemTemplate>
            </asp:TemplateField>            
             <asp:TemplateField HeaderText="标题" SortExpression="IssueTitle">
                <ItemTemplate>
                    <%# Eval("IssueTitle")%>
                </ItemTemplate>
            </asp:TemplateField>
             <asp:TemplateField HeaderText="状态" SortExpression="Status">
                <ItemTemplate>
                    <%# new Koonsoft.CustomerService.BLL.WFBLL().GetWfById(int.Parse(Eval("Status").ToString()))%>
                </ItemTemplate>
            </asp:TemplateField>
            
             <asp:TemplateField HeaderText="查看" SortExpression="IssueID">
                <ItemTemplate>                
                    <a href='../issues/IssueEdit.aspx?Guid=<%#Server.UrlEncode(Eval("IssueID").ToString())%>'>查看</a>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerSettings NextPageText="下一页&gt;&gt;" PreviousPageText="&lt;&lt;上一页" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
</asp:Content>
